package com.yyw.service;

import com.yyw.bean.DishFlavor;

import java.util.List;

public interface DishFlavorService {

    /**
     * 添加口味
     * @param dishFlavor
     * @return
     */
    int add(DishFlavor dishFlavor);


    /**
     * 根据菜品id查询菜品口味数据
     * @param dishId
     * @return
     */
    List<DishFlavor> findByDishId(long dishId);


    /**
     * 根据菜品id删除菜品口味数据
     * @param dishId
     * @return
     */
    int deleteByDishId(Long dishId);

}
